Home > biomechZoo > Toolbox > Biomech Ops > point_to_plane.m

point_to_plane

PURPOSE ^

proj_p1 = POINT_TO_PLANE(p1,p2,p3,p4) projects marker p1 into a plane defined by p2, p3, p4

SYNOPSIS ^

function [proj_p1] = point_to_plane(p1,p2,p3,p4)

DESCRIPTION ^

 proj_p1 = POINT_TO_PLANE(p1,p2,p3,p4) projects marker p1 into a plane defined by p2, p3, p4

 ARGUMENTS
     p1         : n x 3 array
                  Point to be projected onto a plane
     p2, p3, p4 : n x 3 arrays defining a plane    
 
 RETURNS
     proj_p     : p1 projected orthogonally onto the plane of p2, p3, and p4

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005